package com.task.mapper;

import com.task.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * @author JiaFuJun
 * @version v1.0
 * @date 2020-01-04
 */
public interface UserMapper {

    int insert(User record);

    int update(User record);

    int del(Integer id);

    User selectByPrimaryKey(Integer id);

    List<User> selectByRecord(User record);

    User getUser(@Param("account") String account,@Param("phone") String phone);
}